package com.my.coolq.strategy.event.model;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;
/**
 * 群成员增加
 * @author ch
 *
 */
public class GroupMemberDecreaseEvent implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -3219517870790451562L;

	/**
	 * 上报类型
	 */
	private String post_type;
	
	/**
	 * 事件名
	 */
	private String event;
	
	/**
	 * 事件子类型:
	 * 主动退群=leave
	 * 成员被踢=kick
	 * 登录号被踢=kick_me
	 */
	private String sub_type;

	/**
	 * 群号码
	 */
	private Long group_id;
	
	/**
	 * 发送者 QQ 号
	 */
	private Long user_id;
	
	/**
	 * 操作者 QQ 号
	 */
	private Long operator_id;
	
	
	
	
	public String getPost_type() {
		return post_type;
	}




	public void setPost_type(String post_type) {
		this.post_type = post_type;
	}




	public String getEvent() {
		return event;
	}




	public void setEvent(String event) {
		this.event = event;
	}




	public String getSub_type() {
		return sub_type;
	}




	public void setSub_type(String sub_type) {
		this.sub_type = sub_type;
	}




	public Long getGroup_id() {
		return group_id;
	}




	public void setGroup_id(Long group_id) {
		this.group_id = group_id;
	}




	public Long getUser_id() {
		return user_id;
	}




	public void setUser_id(Long user_id) {
		this.user_id = user_id;
	}




	public Long getOperator_id() {
		return operator_id;
	}




	public void setOperator_id(Long operator_id) {
		this.operator_id = operator_id;
	}




	@Override
	public String toString() {
		return JSON.toJSONString(this, SerializerFeature.UseISO8601DateFormat);
	}

}
